package com.maxd.bean.evaluation;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;
import java.util.List;

@ApiModel("学生评价信息")
@Data
public class EvaluationData {

    @ApiModelProperty(value = "学员ID", required = true)
    @NotNull(message = "学员ID不能为空")
    private Long studentId;

    @ApiModelProperty("评价内容")
    private String content;

    @ApiModelProperty(value = "评分", required = true)
    @NotBlank(message = "评分不能为空")
    private String score;

    @ApiModelProperty(value = "发放的勋章列表")
    private List<Long> medalIds;

}
